package com.eric.downloader;

import com.alibaba.fastjson.JSONObject;

public interface SearchEngineDownloader {

	/**
	 * 
	 * @param queryBaseUrl
	 * @param wd
	 * @return Baidu Search Result Page In Raw HTML Format
	 */
	public String querySearchEngine ();
	
	/**
	 * Analyze the SERP and Extract Infomation Needed
	 * @param wd the keyword
	 * @return JSON result of the Information Needed
	 */
	public JSONObject analyze ();
}
